package com.yl.zqy.entity.sys;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 字典类型
 * </p>
 *
 * @author liang.yu
 * @since 2024-03-25
 */
@Getter
@Setter
@TableName("sys_dict_type")
@Schema(name = "SysDictType对象", description = "字典类型")
public class SysDictType implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId("id")
    private String id;

    @Schema(description = "字典类型")
    @TableField("dict_code")
    private String dictCode;

    @Schema(description = "字典名称")
    @TableField("dict_name")
    private String dictName;

    @Schema(description = "备注")
    @TableField("remark")
    private String remark;

    @Schema(description = "排序")
    @TableField(value = "sort",fill = FieldFill.INSERT)
    private Integer sort;

    @Schema(description = "创建者")
    @TableField(value = "creator",fill = FieldFill.INSERT)
    private String creator;

    @Schema(description = "创建时间")
    @TableField(value = "create_date",fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    @Schema(description = "更新者")
    @TableField(value = "updater",fill = FieldFill.UPDATE)
    private String updater;

    @Schema(description = "更新时间")
    @TableField(value = "update_date",fill = FieldFill.UPDATE)
    private LocalDateTime updateDate;


}
